package cn.com.clearbus.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("/wx/user")
public class UserController {

    Logger logger = LoggerFactory.getLogger(getClass());


    @RequestMapping("/toIndex")
    public String  toIndex(HttpServletRequest request) {
        logger.info("接收到的request对象信息为 url:{},maps:{}"+request.getRequestURL(),request.getParameterMap().toString());
       return "/index";
    }







}
